import { createBrowserRouter } from 'react-router-dom'
import App from '../App'
import Hwj_service from '../components/hwj/component/Hwj_service'
import Hwj_other from '../components/hwj/component/Hwj_other'
import Hwj_progress from '../components/hwj/component/Hwj_progress'
import Hwj_progresscon from '../components/hwj/component/Hwj_progresscon'
import Hwj_details from '../components/hwj/component/Hwj_details'
import Hwj_feedback from '../components/hwj/component/Hwj_feedback'
import Hwj_settings from '../components/hwj/component/Hwj_settings'
import Hwj_address from '../components/hwj/component/Hwj_address'
import Hwj_homeadd from '../components/hwj/component/Hwj_homeadd'
import Hwj_gsadd from '../components/hwj/component/Hwj_gsadd'
import Login from '../components/gzh/component/Login'//验证码登录
import PwdLogin from '../components/gzh/component/PwdLogin'//密码登录
import ForgetPwd from '../components/gzh/component/ForgetPwd'//忘记密码
import Wdxc from '../components/lbx/component/Wdxc'
import Wdxc2 from '../components/lbx/component/Wdxc2'
import Kfp from '../components/lbx/component/Kfp'
import Fpmx from '../components/lbx/component/Fpmx'
import Kfp2 from '../components/lbx/component/Kfp2'
import Hcy_page1 from "../components/hcy/component/Hcy_page1"
import Hcy_page5 from '../components/hcy/component/Hcy_page5'
import Hcy_page6 from '../components/hcy/component/Hcy_page6'
import Hcy_page7 from '../components/hcy/component/Hcy_page7'
import Hcy_page10 from '../components/hcy/component/Hcy_page10'
import Contmain from '../components/mxd/component/contmain'
import Realname from '../components/mxd/component/Realname'   //实名认证
import Editphone from '../components/mxd/component/Editphone'  //修改手机号
import Payment from '../components/mxd/component/Payment'   //支付
// import Register from '../components/mxd/component/Register'  //注册
import Getimg from '../components/mxd/component/Getimg'   //核实身份
import Getuserimg from '../components/mxd/component/Getuserimg' //进行识别
import Loginpwd from '../components/mxd/component/Loginpwd'  //设置登录密码
import Paypwd from '../components/mxd/component/Paypwd'    //设置支付密码
import Aginpwd from '../components/mxd/component/Aginpwd'   //再次确认支付密码
import Setnewphone from '../components/mxd/component/Setnewphone'  //设置新手机号
import Renlian from '../components/mxd/component/Renlian'
import { Navigate } from 'react-router-dom'
const router = createBrowserRouter([
    {
        path: '/hwj_service',
        element: <Hwj_service />
    },
    {
        path: '/hwj_other',
        element: <Hwj_other />
    },
    {
        path: '/hwj_progress',
        element: <Hwj_progress />
    },
    {
        path: '/hwj_progresscon',
        element: <Hwj_progresscon />
    },
    {
        path: '/hwj_details',
        element: <Hwj_details />
    },
    {
        path: '/hwj_feedback',
        element: <Hwj_feedback />
    },
    {
        path: '/hwj_settings',
        element: <Hwj_settings />
    },
    {
        path: '/wdxc',
        element: <Wdxc />
    },
    {
        path: '/wdxc2',
        element: <Wdxc2 />
    },
    {
        path: '/kfp',
        element: <Kfp />
    },
    {
        path: '/kfp2',
        element: <Kfp2 />
    },
    {
        path: '/fpmx',
        element: <Fpmx />
    },
    {
        path: '/',
        element: <App />

    },
    {
        path: '/app',
        element: <App />,
    },
    {
        path: "/Hcy_page1",
        element: <Hcy_page1></Hcy_page1>
    },
    {
        path: "/Hcy_page5",
        element: <Hcy_page5></Hcy_page5>
    },
    {
        path: "/Hcy_page6",
        element: <Hcy_page6></Hcy_page6>
    },
    {
        path: "/Hcy_page7",
        element: <Hcy_page7></Hcy_page7>
    },
    {
        path: "/Hcy_page10",
        element: <Hcy_page10></Hcy_page10>
    },
    {
        path: '/hwj_address',
        element: <Hwj_address />
    },
    {
        path: '/hwj_homeadd',
        element: <Hwj_homeadd />
    },
    {
        path: '/hwj_gsadd',
        element: <Hwj_gsadd />
    },
    {
        path: '/login',
        element: <Login />
    },
    {
        path: '/pwdlogin',
        element: <PwdLogin />
    },
    {
        path: '/forgetpwd',
        element: <ForgetPwd />
    },
    {
        path: '/contmain',
        element: <Contmain></Contmain>
    },
    {
        path: '/editphone',
        element: <Editphone></Editphone>
    },
    {
        path: '/payment',
        element: <Payment></Payment>
    },
    {
        path: '/realname',
        element: <Realname></Realname>
    },
    {
        path: '/paypwd',
        element: <Paypwd></Paypwd>
    },
    // {
    //     path:'/register',
    //     element:<Register></Register>
    // },
    {
        path: '/getimg',
        element: <Getimg></Getimg>
    },
    {
        path: '/getuserimg',
        element: <Getuserimg></Getuserimg>
    },
    {
        path: '/loginpwd',
        element: <Loginpwd></Loginpwd>
    },
    {
        path: '/aginpwd',
        element: <Aginpwd></Aginpwd>
    },
    {
        path: '/setnewphone',
        element: <Setnewphone></Setnewphone>
    },
    {
        path: '/renlian',
        element: <Renlian></Renlian>
    },
])
export default router